package com.java.study.modules.mapper;

import com.java.study.DTO.StudentDTO;
import com.java.study.entity.StudentPO;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * ClassName:IStudentMapper
 * Description:
 *
 * @Date:2022/8/29 13:46
 * @Author:chenruifeng
 */
public interface IStudentMapper {
    StudentPO findByNames(@Param("name") String name);

    void batchInsert(@Param("students") List<StudentDTO> studentDTO);
}
